import pandas  as pd
from tqdm import tqdm

for i in tqdm(range(1,31)):
    print("read %02d..." % i)
    if i==1:
        train_data=pd.read_csv("is_train_201907%02d.txt" % i)
    else:
        train_data_1=pd.read_csv("is_train_201907%02d.txt"% i)
        train_data=pd.concat([train_data,train_data_1])
train_data.to_csv("sum_data.txt", index=False)